﻿using GroupMeal.Materials;
using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Foods
{
    /// <summary>
    /// 商户菜品
    /// </summary>
    public class MerchantFood:FullAuditedEntity<Guid>,IMultiTenant
    {
        /// <summary>
        /// 名称
        /// </summary>
        public virtual string Name
        {
            get;set;
        }

        /// <summary>
        /// 菜品类型ID
        /// </summary>
        public virtual Guid FoodTypeId
        {
            get;set;
        }

        /// <summary>
        /// 菜品类型
        /// </summary>
        public virtual MerchantFoodType FoodType
        {
            get;set;
        }

        /// <summary>
        /// 原材料详情
        /// </summary>
        public virtual List<MaterialDetail>? MaterialDetails
        {
            get;set;
        }

        /// <summary>
        /// 列表图
        /// </summary>
        public virtual string? LogoImageUrl
        {
            get;set;
        }


        /// <summary>
        /// 滚动图
        /// </summary>
        public virtual string? ScrollImageUrls
        {
            get;set;
        }


        /// <summary>
        /// 活动
        /// </summary>
        public virtual bool IsActive
        {
            get; set;
        } = true;

        /// <summary>
        /// 价格
        /// </summary>
        public virtual float Price
        {
            get;set;
        }

        /// <summary>
        /// 租户ID
        /// </summary>
        public virtual Guid? TenantId
        {
            get;set;
        }
    }
}
